<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>
<body>
<div id="Application">
    <my-container>组件内部</my-container>
</div>
<script>
    const App = Vue.createApp({})
    const containerComponent = {
        template: '<div style="border-style:solid;border-color:red;border-width:10px"><slot>插槽的位置</slot></div>'
    }
    App.component("my-container", containerComponent)
    App.mount("#Application")
</script>

</body>
</html>